cmake_minimum_required(VERSION 3.12.4)

set(CMAKE_CXX_FLAGS_DEBUG "-g --coverage -fsanitize=address,leak,undefined")

include_directories(${SRC_FOLDER}/external/googletest/googletest/include/)
include_directories(${SRC_FOLDER}/external/googletest/googlemock/include/)
include_directories(${SRC_FOLDER}/external/rocksdb/include)
include_directories(${SRC_FOLDER}/shared_modules/content_manager/src/)
include_directories(${SRC_FOLDER}/shared_modules/content_manager/include/)
include_directories(${SRC_FOLDER}/shared_modules/utils)

link_directories(${SRC_FOLDER}/external/googletest/lib/)

add_subdirectory(component)
add_subdirectory(unit)
